package com.vhuomai.wechat.support;

import org.springframework.boot.context.properties.ConfigurationProperties;

@ConfigurationProperties(prefix = "wx")
public class WxProperties {
    
    private long cacheTimeout = 7200;
    private boolean authRedirect;
    private boolean wxRedirect;
    
    public long getCacheTimeout() {
        return cacheTimeout;
    }
    
    public void setCacheTimeout(long cacheTimeout) {
        this.cacheTimeout = cacheTimeout;
    }
    
    public boolean isAuthRedirect() {
        return authRedirect;
    }
    
    public void setAuthRedirect(boolean authRedirect) {
        this.authRedirect = authRedirect;
    }
    
    public boolean isWxRedirect() {
        return wxRedirect;
    }
    
    public void setWxRedirect(boolean wxRedirect) {
        this.wxRedirect = wxRedirect;
    }
}
